/**
 * Copyright 2018 人人开源 http://www.renren.io
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

package com.ziyun.pop.mall.module.user.entity;

import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * 系统用户
 * author : cxy
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SysUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	private Long userId;

	/**
	 * 商户id
	 */
	private Long sellerId;

	/**
	 * 商户类型 0：供应商 1：工厂
	 */
	private Integer merchantType;

	/**
	 * 商户买家用户id
	 */
	private Long mallUserId;

	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 明文
	 */
	private String passwordOld;

	/**
	 * 盐
	 */
	private String salt;

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 手机号
	 */
	private String mobile;

	/**
	 * 状态 0：禁用 1：正常
	 */
	private Integer status;

	/**
	 * 角色ID列表
	 */
	private List<Long> roleIdList;

	/**
	 * 创建时间
	 */
	private String  createTime;

	/**
	 * 部门ID
	 */
	private Long deptId;

	/**
	 * 部门名称
	 */
	private String deptName;

	/**
	 * 是否删除
	 */
	private Integer delFlag;

	/**
	 * 系统引导
	 */
	private String guide;

	/**
	 * 微信openid
	 */
	private String openId;

	/**
	 * 微信uuid
	 */
	private String uuid;

}
